package com.ux.event
{
	import flash.events.Event;
	
	public class VideoEvent extends Event
	{
		
		
		public static const VIDEO_PLAY : String = "videoPlay";
		public static const VIDEO_STOP : String = "videoStop";
		public static const VIDEO_RESUME : String = "videoResume";
		public static const VIDEO_PAUSE : String = "videoPause";
		public static const VIDEO_VOLUME_OFF : String = "videoVolumeOff";
		public static const VIDEO_VOLUME_ON : String = "videoVolumeOn";
		public static const VIDEO_VOLUME_CHANGE : String = "videoVolumeChange";
		public static const VIDEO_STATUS_CHANGE : String = "videoStatusChange";
		
		
		public var volume : Number;
		public var url : String;
		
		public function VideoEvent(type:String, url:String="", volume:Number=1, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.url = url;
			this.volume = volume;
			
		}
		
		
		override public function clone():Event
		{
			return new VideoEvent( type, url, volume, bubbles, cancelable );
		}
		
		
		
		
	}
}











